package com.richapp.launcher.database.infrared.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by jack on 2015/4/14 0014.
 */

@DatabaseTable(tableName = "brandModelButton")
public class BrandModelButton {

    @DatabaseField(generatedId = true)
    private int brandModelButtonId; //主键

    @DatabaseField(columnName = "brandModelId",canBeNull = false,uniqueCombo = true)
    private int brandModelId;   //类型，品牌，型号表 主键

    @DatabaseField(columnName = "buttonId",canBeNull = false,uniqueCombo = true)
    private int buttonId;   //按钮主键

    @DatabaseField(columnName = "code",canBeNull = false)
    private String code;    //指令码

    //临时
    private String modelName;


    public BrandModelButton(){

    }

    public int getBrandModelButtonId() {
        return brandModelButtonId;
    }

    public void setBrandModelButtonId(int brandModelButtonId) {
        this.brandModelButtonId = brandModelButtonId;
    }

    public int getBrandModelId() {
        return brandModelId;
    }

    public void setBrandModelId(int brandModelId) {
        this.brandModelId = brandModelId;
    }

    public int getButtonId() {
        return buttonId;
    }

    public void setButtonId(int buttonId) {
        this.buttonId = buttonId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
